package com.xszx.mapper;

import com.xszx.entity.TContract;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 34129
* @description 针对表【t_contract】的数据库操作Mapper
* @createDate 2024-01-08 20:40:47
* @Entity com.xszx.entity.TContract
*/
@Mapper
public interface TContractMapper extends BaseMapper<TContract> {

    List<TContract> selectContract(String dname);

    TContract selectContractByCid(@Param("cid") long cid, @Param("armorDept") String armorDept);

    int udpateContractStatus(@Param("cid") long cid, @Param("cstatus") String cstatus);

    TContract selectContractByAid(@Param("aid")Long aid,@Param("cstatus")String cstatus);
}




